package com.cyt.entity;
//实体类 商品分类的实体类  ShangPingAnLiDaoImpl.java ShangPingSouSuoDaoImpl.java
//ShangPingXXDaoImpl.java ShangPingXXTwoDaoImpl.java 这个四个实现类 都用的这个实体类
public class ShangPingXX {
    private int cPid;
    private String cPName;
    private String cPCaiZhi;
    private int cPShoujia;
    private int qiShiCPShoujia;//起始价格
    private int jieShuCPShoujia;//开始价格
    private int cPShiChangSJ;
    private String cPPingPai;
    private String xingHao;
    private String yanSe;
    private String dingZhi;
    private String chuanYiRenQun;
    private int fengLeiId;
    private String cPImg;
    
    private String sPFengLeiName;//产品系列名称
    
	public ShangPingXX(int cPid, String cPName, String cPCaiZhi, int cPShoujia, int cPShiChangSJ, String cPPingPai,
			String xingHao, String yanSe, String dingZhi, String chuanYiRenQun, int fengLeiId, String cPImg) {
		super();
		this.cPid = cPid;
		this.cPName = cPName;
		this.cPCaiZhi = cPCaiZhi;
		this.cPShoujia = cPShoujia;
		
		this.cPShiChangSJ = cPShiChangSJ;
		this.cPPingPai = cPPingPai;
		this.xingHao = xingHao;
		this.yanSe = yanSe;
		this.dingZhi = dingZhi;
		this.chuanYiRenQun = chuanYiRenQun;
		this.fengLeiId = fengLeiId;
		this.cPImg = cPImg;
	}
	public ShangPingXX() {
		super();
	}
	
	public ShangPingXX(int cPid, String cPName, String cPImg) {
		super();
		this.cPid = cPid;
		this.cPName = cPName;
		this.cPImg = cPImg;
	}
	public ShangPingXX(int cPid, String cPName, String cPCaiZhi, int cPShoujia, int qiShiCPShoujia, int jieShuCPShoujia,
			int cPShiChangSJ, String cPPingPai, String xingHao, String yanSe, String dingZhi, String chuanYiRenQun,
			int fengLeiId, String cPImg, String sPFengLeiName) {
		super();
		this.cPid = cPid;
		this.cPName = cPName;
		this.cPCaiZhi = cPCaiZhi;
		this.cPShoujia = cPShoujia;
		this.qiShiCPShoujia = qiShiCPShoujia;
		this.jieShuCPShoujia = jieShuCPShoujia;
		this.cPShiChangSJ = cPShiChangSJ;
		this.cPPingPai = cPPingPai;
		this.xingHao = xingHao;
		this.yanSe = yanSe;
		this.dingZhi = dingZhi;
		this.chuanYiRenQun = chuanYiRenQun;
		this.fengLeiId = fengLeiId;
		this.cPImg = cPImg;
		this.sPFengLeiName = sPFengLeiName;
	}
	@Override
	public String toString() {
		return "ShangPingXX [cPid=" + cPid + ", cPName=" + cPName + ", cPCaiZhi=" + cPCaiZhi + ", cPShoujia="
				+ cPShoujia + ", qiShiCPShoujia=" + qiShiCPShoujia + ", jieShuCPShoujia=" + jieShuCPShoujia
				+ ", cPShiChangSJ=" + cPShiChangSJ + ", cPPingPai=" + cPPingPai + ", xingHao=" + xingHao + ", yanSe="
				+ yanSe + ", dingZhi=" + dingZhi + ", chuanYiRenQun=" + chuanYiRenQun + ", fengLeiId=" + fengLeiId
				+ ", cPImg=" + cPImg + ", sPFengLeiName=" + sPFengLeiName + "]";
	}
	public int getcPid() {
		return cPid;
	}
	public void setcPid(int cPid) {
		this.cPid = cPid;
	}
	public String getcPName() {
		return cPName;
	}
	public void setcPName(String cPName) {
		this.cPName = cPName;
	}
	public String getcPCaiZhi() {
		return cPCaiZhi;
	}
	public void setcPCaiZhi(String cPCaiZhi) {
		this.cPCaiZhi = cPCaiZhi;
	}
	public int getcPShoujia() {
		return cPShoujia;
	}
	public void setcPShoujia(int cPShoujia) {
		this.cPShoujia = cPShoujia;
	}
	public int getQiShiCPShoujia() {
		return qiShiCPShoujia;
	}
	public void setQiShiCPShoujia(int qiShiCPShoujia) {
		this.qiShiCPShoujia = qiShiCPShoujia;
	}
	public int getJieShuCPShoujia() {
		return jieShuCPShoujia;
	}
	public void setJieShuCPShoujia(int jieShuCPShoujia) {
		this.jieShuCPShoujia = jieShuCPShoujia;
	}
	public int getcPShiChangSJ() {
		return cPShiChangSJ;
	}
	public void setcPShiChangSJ(int cPShiChangSJ) {
		this.cPShiChangSJ = cPShiChangSJ;
	}
	public String getcPPingPai() {
		return cPPingPai;
	}
	public void setcPPingPai(String cPPingPai) {
		this.cPPingPai = cPPingPai;
	}
	public String getXingHao() {
		return xingHao;
	}
	public void setXingHao(String xingHao) {
		this.xingHao = xingHao;
	}
	public String getYanSe() {
		return yanSe;
	}
	public void setYanSe(String yanSe) {
		this.yanSe = yanSe;
	}
	public String getDingZhi() {
		return dingZhi;
	}
	public void setDingZhi(String dingZhi) {
		this.dingZhi = dingZhi;
	}
	public String getChuanYiRenQun() {
		return chuanYiRenQun;
	}
	public void setChuanYiRenQun(String chuanYiRenQun) {
		this.chuanYiRenQun = chuanYiRenQun;
	}
	public int getFengLeiId() {
		return fengLeiId;
	}
	public void setFengLeiId(int fengLeiId) {
		this.fengLeiId = fengLeiId;
	}
	public String getcPImg() {
		return cPImg;
	}
	public void setcPImg(String cPImg) {
		this.cPImg = cPImg;
	}
	public String getsPFengLeiName() {
		return sPFengLeiName;
	}
	public void setsPFengLeiName(String sPFengLeiName) {
		this.sPFengLeiName = sPFengLeiName;
	}
	
	
}
